<template>
	<view>
		<cu-custom bgColor="bg-blue" :isBack="false"><block slot="content">猎阵生物</block></cu-custom>
		<view class="flex justify-center">
			<image mode="widthFix" src="../../../static/img/register.jpg" class="register-image"></image>
		</view>
		<view class="solid-bottom">
			<button class="cu-btn block bg-blue lg margin-lr" @click="goAuth">前往注册使用</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			goAuth(){
				let member=uni.getStorageSync('member')
				let token=uni.getStorageSync('token')
				if(!member||!token||!member.phonenumber||member.phonenumber==undefined||member.phonenumber=="undefined"){
					uni.navigateTo({
						url: '/pages/mine/auth/auth',
					});
					return;
				}else{
					uni.navigateTo({
						url:"/pages/index/index"
					})
				}
			}
		}
	}
</script>

<style lang="scss">
.register-image{
	width: 100%;
	height: 100%;
}
</style>
